/**
 * Copyright (C) 2018-2030
 * All rights reserved, Designed By www.samfeng.com
 */

export const SpecificationOption = {
  dialogType: 'dialog',
  dialogDrag:true,
  dialogMenuPosition: 'right',
  border: true,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menuType: 'text',
  searchShow: false,
  excelBtn: false,
  delBtn:false,
  addBtn: false,
  searchMenuSpan: 6,
  column: [
          {
            label: "产品规格",
            prop: "name",
            display: true
          },
              {
            label: "规格值",
            prop: "value",
            display: true
          },
          {
            label: '规格图片',
            prop: 'picUrl',
            listType: 'picture-card',
            dataType: 'string',
            type: 'upload',
            width: 250,
            rules: [{
              required: true,
              message: '图片不能为空',
              trigger: 'change'
            }],
            canvasOption: {
              text: 'samfeng',
              ratio: 0.1
            },
            oss: 'ali',
            loadText: '附件上传中，请稍等',
            span: 24,
            tip: '只能上传jpg/png文件，且不超过50kb',
          },
          {
              label: "创建时间",
              prop: "createTime",
              display: true,
              hide:true,
              disabled: true
          },{
              label: "修改时间",
              prop: "updateTime",
              display: true,
              hide:true,
              disabled: true
          }
        ]
}
